package com.example.liaotian.Bean;

import cn.bmob.v3.BmobObject;

public class Tra extends BmobObject {
    private User author;//作者
    private String title,content,nikename;//标题，内容，昵称

    public Tra(User author, String title, String content, String nikename) {
        this.author = author;
        this.title = title;
        this.content = content;
        this.nikename = nikename;
    }

    public Tra() {
        super();
    }

    public void setAuthor(User author) {
        this.author = author;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public void setNikename(String nikename) {
        this.nikename = nikename;
    }

    public User getAuthor() {
        return author;
    }

    public String getTitle() {
        return title;
    }

    public String getContent() {
        return content;
    }

    public String getNikename() {
        return nikename;
    }
}
